package Exception;

public class ExceptionDemo2 {
	public static void main(String[] args) {
		try {
			System.out.println(2/0);
		}catch(ArithmeticException e) {
			System.out.println("除数不能为0");
		}finally{
			 
		}
	}
}
